{% extends "hg/html/index.html" %}
{% load i18n %}

{% block title %}
    {% trans 'Repozytoria' %}
{% endblock %}

{% block content %}
<div class="repositories_table">
    <table id="repo_table">
       <tr>
        <th class="repoName_header">{{lang.RepositoryName}}</th>
		<th class="repoDesc_header">{{lang.RepositoryDesc}}</th>
		<th class="repoAuthor_header">{{lang.RepositoryAuthor}}</th>
		<th class="repoTime_header">{{lang.RepositoryTime}}</th>
		<th class="repoOptions_header">{{lang.RepositoryOptions}}</th>
       </tr>
       {% for repo in repositories %}
          {% with repo.get_context as ctx %}
            {% include 'hg/html/repo_ctx.html' %}
          {% endwith %}
	   {% empty %}
	       <div class="message">Lista Repozytoriow jest pusta!</div>
       {% endfor %}
    </table>
</div>
{% endblock  %}
